package insertpackage;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.DriverManager;
import javabean.Schedule;
import javabean.Employee;
import javabean.Project;
import javabean.Files;
import javabean.Work;
import javabean.Team;
import javabean.Report;
import javabean.Sticker;
import javabean.Meeting;

public abstract class Insert{
	protected Connection getConnection() throws SQLException{
        return DriverManager.getConnection("jdbc:apache:commons:dbcp:/pool");
    }
	
	public void insertDB(Project pro){}
	public void insertDB(Schedule sch){}
	public void insertDB(Employee emp){}
	public void insertDB(Files files){}
	public void insertDB(Work work){}
	public void insertDB(Team team){}
	public void insertDB(Report rep){}
	public void insertDB(Sticker sti){}
	public void insertDB(Meeting mee){}
}